{validate form="edit_url" id="v_longurl_valid" append="error" message="Long URL must be valid."}
{validate form="edit_url" id="v_longurl_host" append="error" message="You cannot create a redirection to this service."}
{validate form="edit_url" id="v_new_keyword_valid" append="error" message="The new custom keyword can only contain letters, numbers, underscores and dashes."}
{validate form="edit_url" id="v_new_keyword_unique" append="error" message="This new keyword is already associated to another URL."}
{validate form="edit_url" id="v_cloak_regexp" append="error" message="Cloak option must be valid."}
{validate form="edit_url" id="v_maxhits_valid" append="error" message="Maximum number of hits must be an integer."}
{validate form="edit_url" id="v_expiration_valid" append="error" message="Expiration date must be valid."}
{validate form="edit_url" id="v_disabled_regexp" append="error" message="Disable option must be valid."}
{if $edit_button}
	<div class="failed">
		{foreach $error as $message}
			{$message}<br />
		{/foreach}
	</div>
{/if}